package Cn.Sarkar.MMS.DataBaseDefinations.Additional

import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.*
import Cn.Sarkar.Entities.Common.Table
import Cn.Sarkar.MMS.DataBaseDefinations.Independent.ApplicationDomains

object Types : Table("Type") {
    override var Comment: String = "تىپ"
    val ApplicationDomainID = intColumn("ApplicationDomainID") reference ApplicationDomains.ID comment "ئەپ تەسىر دائىرىسى"
    val NameID = intColumn("NameID") unsigned true notNull true reference Names.ID comment "ئىسمى"
    val DescriptionID = intColumn("DescriptionID") unsigned true notNull true reference Descriptions.ID comment "چۈشەندۈرۈلىشى"

    override val CATEGORY: Int = 7
}